cmake_minimum_required(VERSION 3.5.0)
project(cmake_dll_helloworld VERSION 0.1.0 LANGUAGES C CXX)

add_library(cmake_dll_helloworld SHARED src/cmake_dll_helloworld.cpp)

# install(TARGETS cmake_dll_helloworld
#         LIBRARY DESTINATION D:\\code\\other\\Window_Vscode_Cmake_CPP_Helloworld\\test6\\lib # 安装库文件 
#         ARCHIVE DESTINATION D:\\code\\other\\Window_Vscode_Cmake_CPP_Helloworld\\test6\\lib # 安装静态库文件
#         RUNTIME DESTINATION D:\\code\\other\\Window_Vscode_Cmake_CPP_Helloworld\\test6\\lib # 安装可执行文件
#         INCLUDES DESTINATION D:\\code\\other\\Window_Vscode_Cmake_CPP_Helloworld\\test6\\lib # 安装头文件
# )
# target_link_libraries()
# include(CTest)
# enable_testing()

# set(CPACK_PROJECT_NAME ${PROJECT_NAME})
# set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
# include(CPack)
